package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@MapperScan("com.example.mapper")
@RestController //@RestController是一个组合注解，专门用来开发Restful接口
@RequestMapping
public class SpringbootApplication {
        public static void main(String[] args) {
            SpringApplication.run(com.example.SpringbootApplication.class, args);
        }
}
